$ ia_host = get_ia_host(allow_dev=True)

$# The following allows archive.org staff to test banners without
$# needing to reload openlibrary services
$# Note donate.js also reads the ?ymd=YYYYMMDD parameter and the
$# `variant` parameter.
$if ia_host != "archive.org":
    $ script_src = "https://%s/includes/donate.js" % ia_host
$else:
    $ script_src = "/cdn/archive.org/donate.js"

<div id="donato"></div>
<script src="$script_src" data-platform="ol"></script>
